package com.dems.dao.mapper.la;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dems.dao.dataobject.ResRoom;
import org.apache.ibatis.annotations.Param;

public interface ResRoomMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ResRoom record);

    int insertSelective(ResRoom record);

    ResRoom selectByPrimaryKey(Long id);

    ResRoom selectByRoomName(String roomName);

    int updateByPrimaryKeySelective(ResRoom record);

    int updateByPrimaryKeyWithBLOBs(ResRoom record);

    int updateByPrimaryKey(ResRoom record);

    Page<ResRoom> findRoomList(@Param("page") Page page, @Param("resRoom") ResRoom resRoom);
}